package com.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component  // 确保类被 Spring 扫描到
@ConfigurationProperties(prefix = "doubao.ai")
public class DoubaoAiConfig {

    private String apiKey;
    private String apiUrl;

    // getters and setters
}
